home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 090 / byteibm.arc / HOGAN.ARC / LISTING3.TXT < prev    next >
Text File  |  1985-07-12  |  614b  |  13 lines

  1.    MOV  AX, VARIABLE    ; 3 bytes, 14 clocks
  2.    MOV  CL, 4           ; 2 bytes,  4 clocks
  3.    SHL  AX, CL          ; 2 bytes, 24 clocks
  4.    MOV  BX, AX          ; 2 bytes,  2 clocks
  5.    SHL  AX, 1           ; 2 bytes,  2 clocks
  6.    SHL  AX, 1           ; 2 bytes, 6 clocks -- prefetch queue
  7.                         ; is empty before the instruction
  8.                         ; is executed
  9.    ADD  AX, BX          ; 2 bytes, 14 clocks -- 4 clocks/byte
  10.                         ; for the BIU to put the instruction
  11.                         ; in the queue plus 2 clocks to
  12.                         ; execute it
  13.